import React from 'react'
import { Form, Button, Row, Col, DatePicker, Input, Cascader, Switch, Icon } from 'antd'

const Filter = ({
  onAdd,
}) => {
  return (
  	<div>
	  	<h3 style={{fontWeight:600,marginBottom:10}}>角色管理列表</h3>
	    <Row gutter={24}>
	      <Col xl={{ span: 24 }} md={{ span: 24 }} sm={{ span: 24 }}>
	        <Button type="dashed" style={{width:"100%",margin:"20px 0",height:40}} onClick={onAdd}>
	        		<Icon type="plus" />新增
	      	</Button>
	      </Col>
	    </Row>
    </div>
  )
}

export default Filter
